import { defHttp } from '@/utils/http';
import axios from 'axios';

export function getRouters() {
  return defHttp.get<MenuEntry>(
    {
      url: '/getRouters',
    },
    {
      errorMessageMode: 'message',
    },
  );
}
